package com.loveprogrammer.lowercode.dna.service;

import com.loveprogrammer.lowercode.common.ReturnMessage;
import com.loveprogrammer.lowercode.dna.common.CommonInfo;
import com.loveprogrammer.lowercode.dna.def.Dna;
import com.loveprogrammer.lowercode.dna.instance.bo.Inst;

/***
 * 数据库交互相关
 */
public interface InstDMService {

    Inst saveInst(CommonInfo commonInfo, Inst inst);

    ReturnMessage<Inst> getInst(CommonInfo commonInfo, Dna dna, Object cellKey);

    void getChildInst(CommonInfo commonInfo, Inst inst);

    void deleteInst(CommonInfo commonInfo, Dna dna, Object cellKey);

}
